@isTest
global class MockHttpResponseGenerator implements HttpCalloutMock {
    // Implement this interface method
    global HTTPResponse respond(HTTPRequest req) {
    	System.assertEquals('https://www.google.com/accounts/ClientLogin', req.getEndpoint());
        System.assertEquals('POST', req.getMethod());
    	//req.setEndpoint('https://www.google.com/accounts/ClientLogin');
        // Create a fake response
        HttpResponse res = new HttpResponse();
        res.setHeader('Content-Type', 'application/xml');
        //res.setBody('{"Status":"Created"}');
        res.setStatusCode(200);
        return res;
    }
}